<html>
<body>
This is a local page.<br>
<img src="aa.jpg">
<button type="button" id="button1" onclick="callAndroid()" style="height:30px;width:100px">button1</button>
<button type="button" id="button2" onclick="callAdd(5,10)" style="height:30px;width:100px">button2</button>
</body>
<script>
function callJS(){
alert("Android调用了JS的callJS方法");
}
function callAndroid(){
test.hello("js调用了android中的hello用法");
}
function callAdd(x,y){
test.add(x,y);
</script>
</html>